
    
    <input type="type" class="input-text" name="<?php echo $name?>" id="<?php echo $id?>" value="<?php echo $value;?>" <?php echo isset($param['style']) ? $param['style'] : ''?>/>
    <?php echo isset($setting['inputtip']) ? $setting['inputtip'] : '';?>
</div>
<script>
$(function(){
	var option_datetimepicker_<?php echo $id?> = {
		lang:'ch',
		step:1,
		format:'Y-m-d H:i',
		allowBlank:true
	};
	$.extend(option_datetimepicker_<?php echo $id?>, <?php echo isset($param['option']) ? $param['option'] : '{}'?>);
    $('#<?php echo $id?>').datetimepicker(option_datetimepicker_<?php echo $id?>);
});
</script>